package com.gljx.web.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gljx.web.Entity.Oilspec;

public interface OilspecService {
	
	List<Oilspec>queryOilsperByFcontrolunitid(String companyId);
	
	List<Oilspec>queryOilsperByFcontrolunitidAndFnameL2(String companyId,String fnameL2);
	
	String selectFnumber(String companyId);
	
	void addOilspec(Oilspec oilspec);
	
	void deleteOilspecByFid(String fid);
	
	Oilspec queryByPrimaryKey(String fid);

	void modifyOilspec(Oilspec oilspec);
	
	List<Oilspec> queryOilsperAll();
	
	List<Oilspec> queryOilsperByName(@Param("fnameL2") String fnameL2);
}
